home *** CD-ROM | disk | FTP | other *** search
/ 8bitfiles.net/archives / archives.tar / archives / compuserve-file-archive / 03 Demos and Info / C64MAC.TXT < prev    next >
Encoding:
Text File  |  2019-04-13  |  8.0 KB  |  117 lines

  1. Converting Commodore C64 PractiCalc II files into Excel 4.0 Macintosh   4/22/96
  2.  
  3.  
  4. Tools
  5.  
  6. Commodore C64, 1541 or 1571, telecomm software (ie:Microtechnic Solutions), Commodore modem or RS232 adapter and Hayes modem.
  7. Macintosh, telecomm software (ie:Microphone), modem, Excel 4.0, Word 5.1a or some other good wp software.
  8. Short Phone line.
  9. Box of your favorite cookies.
  10. Carload of patience or a "Pinky and the Brain" episode on video.
  11.  
  12. PART I - Transferring the files from the C64 to the Mac.  (more info found in "CBM2PC.HLP")
  13.  
  14. 1.    Turn on both cpu's and their respective modems.  If they are close enough, you may see some pulsating 
  15.        screens; not to worry.
  16. 2.    Connect the two modems together at the line ports with a short piece of phone line.
  17. 3.    Boot up both machines telecomm software.
  18. 4.    Set up Microphone's parameters: baud, data bits, parity, stop bits, flow control, etc., to match the C64's 
  19.        telecomm.  Usually,  300-1200 baud, 8 data bits, parity none, 1 stop bits, X-On X-Off. 
  20.        VT-52 terminal, 80 columns, no echo, auto detect, auto-blocks.
  21. 5.    Set up the C64 to go on line.
  22. 6.    Instruct the C64 software to dial a number, any number.  You are going to fool it into thinking that it is 
  23.        going via phone line to another remote computer.
  24. 7.    As the C64 is dialing, enter  "ATA"  in the open Microphone window and press return.  After dialing is 
  25.        complete, the C64 modem should squeal that annoying carrier and after a moment or two, you will see 
  26.        "connect"  on both the C64 screen and the Mac screen.
  27. 8.    Type something on both computers keyboards to see that they are indeed connected.  What you type on one 
  28.        should show up on the other's screen.
  29. 9.    Remove the telecomm disc from the 1541.  Put in the disc with the PCalc II files.
  30. 10.  Locate the files you want to transfer from the directory.  Note their names exactly.  Get out of the directory 
  31.         mode on the telecomm software.
  32. 11.  Enter the X-Modem mode, usually it's "Commodore key-X".  Enter the file name exactly and add the 
  33.         following ",s,r".  IE:  "expenses90,s,r".  Don't hit "return" on the C64 yet.  The "S" tells the software that 
  34.         it's a sequential file and the "R"  tells it to read it off disc.  
  35. 12.  Hit "Command-R" on the Mac (receive).  You'll get the open/save box.  Select  "X-modem"  protocol and 
  36.        "MacBinary"  mode.  Select a folder where you want to save the files.  I use a folder called "CBM files".
  37. 13.  Hit "return" on the C64.
  38. 14.  Hit the "receive" button in the open/save box on the Mac.
  39. 15.  Fairly soon you will see "attempting to handshake with remote system" in Microphone's transfer window.  
  40.         If all is well, in about 20 seconds you will see signs of life from both machine's screens.  The C64 will 
  41.         probably show you a dot for each block transferred correctly and the Mac will show a status graphic or the 
  42.         words  ' "waiting for or receiving a 128byte block" '.    
  43. 16.  Here's where the cookies and patience come in.  My 125 block Commodore file took 45 minutes to transfer 
  44.        at 300 baud.  Obviously, if you have access to an RS-232 adapter and a Hayes type 2400 baud modem, 
  45.        you'll get to eat less cookies.  We all have our druthers. 
  46. 17.  When the transfer is done, both machines will let you know it.  Name the new Mac file to save it.
  47.  
  48. PART II - Making the files readable for Excel.
  49.  
  50. 1.       Open Word 5.1a or other fave wp.
  51. 2.       Open the file you want to convert.
  52. 3.       Select to "display non-printing special characters" , such as paragraph and tab marks.
  53. 4.      "Search and Replace", all paragraph marks with tab marks. Replace all.  This will take some time 
  54.            depending on the size of the file.
  55. 5.      "Search and Replace", all  ""  with nothing, not even a space.  Replace all.
  56. 6.      "Search and Replace", all  "@"  with nothing, not even a space.  Replace all.
  57. 7.       If you're converting a file with repeat row names, such as months, you're in real luck.  
  58.          "Search and Replace", (IE:) JAN with "paragraph mark space JAN", etc.  This will allow you to set start of 
  59.           rows and make for faster conversion.  If your file isn't of this sort, then you must figure out where the 
  60.           start of all the rows are and precede them with a paragraph mark.
  61. 8.      Find all the column names at the top of the file and place a paragraph mark after the last name.
  62. 9.      Find all the formulas after the column names and place a paragraph mark after the last one or its resultant 
  63.          number.
  64. 10.    At the very bottom of the files, find a long section of the number "255" repeating.  Mark and delete it.
  65. 11.    Save the file with "Save As" ,   "blah, blah, blah-tab ', just for safety.
  66.  
  67. PART III - Giving Excel a go at it.
  68.  
  69. 1.     Open Excel.
  70. 2.     Locate and highlight the file you want to load in the open/save box.
  71. 3.     Click the "text" button.  In the delimiter box, click the "tab" button.  Hit OK.
  72. 4.     You'll return to the open/save box.  Click the "open" button.
  73. 5.     Here's where the fun begins.  You may get a message about a partial load.  Click OK.  This may take some 
  74.         trial and error.
  75. 6.     Apparently, PCalc saved in some odd, but usable sequence.  You should find all of your column names 
  76.         at the top and your formulas and their results below the column names.  There will be extra cells, row and                    
  77.         columns in between. 
  78. 7.     Check and see what your row names are looking like.  Do they look like they're fairly correct?  If not, go 
  79.         back to the original file that you opened with Word and do some more work.  Always "Save As".
  80. 8.     I found that my rows were 99% correct and what wasn't was useless data.  I found that the columns of 
  81.         numbers were all in alignment, but that their names, formulas and results were shifted 2 to 4 cells to the 
  82.         right.  All this depends on your getting the row names correctly marked (PART II, #7).
  83. 9.     Working from left to right across the column names, figure out what's what, rename columns with 
  84.         aligned numbers and removed empty columns and rows.
  85. 10.  Now enter Excel formulas in the proper columns and rows.  Delete all the old formulas cell by cell. Copy all 
  86.         the old (PCalc) results to the top of their columns in a separate row, just to compare and check.
  87. 11.  Some of this seems time consuming and tedious, but Excel's tools and functions make the job quite fast and 
  88.         easy provided you've done your preformatting well with Word.
  89. 12.  In the end, the conversion work once on the Mac for 4 large sheets took 3 hours.  This was much faster then 
  90.         re-entering all the data, believe me.  And my new results were spot on 99.9% of the time, no exaggeration. 
  91.  
  92. PART IV - Eat and gloat.
  93.  
  94. 1.     Open and finish another box of cookies while watching another episode of "Pinky and the Brain".  
  95.         You deserve it.
  96.  
  97.  
  98. NOTE:  These are the basics of "how to".  I imagine that the same could be done with SpeedCalc, Lotus, Claris 
  99.            Works and others.  Good luck.
  100.  
  101. Thanks to John Iannetta    73510,2152, of the Commodore Apps and Tech forums.
  102. Thanks to Malcolm O'Brian 76703,4243 of the Commodore Apps and Tech forums.
  103. Thanks to Howard Herman 72560,3467 of the Commodore Apps and Tech forums.
  104. Thanks to Supra tech support.
  105. Thanks to Eddie Celletti for loaning me a C64 after mine died.
  106. Thanks to Nat for the loan of the 64 power supply after mine died.
  107. Thanks to Douglas Weber for the loan of his Commodore modem after, guess what?, mine died.
  108. Thanks to John F Davis 73455,43 for his input.
  109. Thanks to Bill(ionaire) for his software and Microtechnic Solutions for theirs.
  110. Thanks to Apple for a fabulous platform that really everyone is still trying to copy in one way or another.
  111. Thanks to, gone but not forgotten, Commodore Business Machines for making a great little machine that all these years later has been responsible, at least partially, for myself and many others earning a living and having some big fun.
  112.  
  113. If you have questions, please feel free to email me at INTERNET:72477.3077@compuserve.com .
  114.  
  115. Fritz Lang  4/22/96
  116.  
  117.